package com.wye.service;

import com.github.pagehelper.PageInfo;
import com.wye.goods.pojo.Brand;

import java.util.List;

public interface IBrandService {

    List<Brand> findByCategoryId(Integer categoryId);

    List<Brand> findAll();

    Brand findById(Integer id);

    int insertBrand(Brand brand);

    void updateBrand(Brand brand);

    void deleteBrand(Integer id);

    List<Brand> findList(Brand brand);

    PageInfo<Brand> findPage(Integer page, Integer size);

    PageInfo<Brand> findPage(Integer page, Integer size, Brand brand);


}
